package com.muyu.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.muyu.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 购物车表
 * </p>
 *
 * @author 作者
 * @since 2025-05-12
 */
@Getter
@Setter
@TableName("dm_shopping_cart")
public class DmShoppingCart extends BaseEntity implements Serializable {

    /**
     * 购物车项唯一标识
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 关联用户ID
     */
    @TableField("user_id")
    private Long userId;

    /**
     * 关联产品ID
     */
    @TableField("good_id")
    private Long goodId;

    /**
     * 产品数量，默认为1
     */
    @TableField("quantity")
    private Long quantity;
    /**
     * 备注
     */
    @TableField("remark")
    private String remark;

    /**
     * 是否选中
     */
    @TableField("checked")
    private Boolean checked;

    /**
     * 规格id
     */
    @TableField("sku_id")
    private Long skuId;

    /**
     * 商家id
     */
    @TableField("store_id")
    private Long storeId;
}
